﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{
    /// <summary>
    /// 机构
    /// DY
    /// 2017年8月17日22:54:45
    /// </summary>
    public class Organization_Enterprise
    {
        [Property("Key")]
        public int ID
        {
            get;
            set;
        }
        public string Code
        {
            get;
            set;
        }
        public string EnterpriseName
        {
            get;
            set;
        }
        public int? OrganizationForm
        {
            get;
            set;
        }
        public int? OrganizationId
        {
            get;
            set;
        }
        /// <summary>
        /// 上级机构
        /// </summary>
        public int? SuperiorsOrganization
        {
            get;
            set;
        }
        public int? ProvinceId
        {
            get;
            set;
        }
        public int? City
        {
            get;
            set;
        }
        public int? Region
        {
            get;
            set;
        }
        public string Address
        {
            get;
            set;
        }
        public DateTime? StartTime
        {
            get;
            set;
        }
        public DateTime? EndTime
        {
            get;
            set;
        }
        public string PersonCharge
        {
            get;
            set;
        }
        public string PersonMobile
        {
            get;
            set;
        }
        public string LandlinePhone
        {
            get;
            set;
        }
        public int? JurisdictionRegion
        {
            get;
            set;
        }
        public string Img
        {
            get;
            set;
        }
        public string Remark
        {
            get;
            set;
        }
        public int? ViewDel
        {
            get;
            set;
        }
        public int? ViewFlag
        {
            get;
            set;
        }
        public int? ChangeLoginID
        {
            get;
            set;
        }
        public string ChangeLoginName
        {
            get;
            set;
        }
        public DateTime? ChangeDate
        {
            get;
            set;
        }
        public DateTime? CreateDate
        {
            get;
            set;
        }

        /// <summary>
        /// 总部ID
        /// </summary>
        public int? HeadId
        {
            get;
            set;
        }

        public string ClassifyId
        {
            get;
            set;
        }


        public string ServiceVersion
        {
           get;set;
        }

     
        [NotMapped]
        public double AdminLoginName
        {
            get;
            set;
        }

        [NotMapped]
        public string LoginName
        {
            get;
            set;
        }
        [NotMapped]
        public string Pwd
        {
            get;
            set;
        }

        [NotMapped]
        public string PhoneNumber
        {
            get;
            set;
        }


        [NotMapped]
        public int OldId
        {
            get;
            set;
        }

    }
}
